package com.example.sale_order.service.impl;

import com.example.sale_order.dao.SaleOrderDao;
import com.example.sale_order.entity.Order;
import com.example.sale_order.service.SaleOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: 杨宏杰
 * @QQ： 1025082421
 * @CreateTime: 2020-08-27-10-09
 * @Descirption:
 */
@Service
public class SaleOrderServiceImpl implements SaleOrderService {
    @Autowired
    SaleOrderDao saleOrderDao;
    @Override
    public void insertSaleOrder(Order order) {
        int id = saleOrderDao.selectId() + 1;
        System.out.println(id);
    }
}
